package io.adrainty.bolee.framework.commons.basic;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/11 下午8:36
 */

@Data
@Builder
@Schema(description = "树形结构")
@NoArgsConstructor
@AllArgsConstructor
public class TreeDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = -3955063084865866628L;

    @Schema(description = "tree数据")
    private List<TreeItemDTO> items;
    
    @Schema(description = "选择节点")
    private List<String> checkedIds;

    @Schema(description = "展开项")
    private List<String> expandedIds;
    
}
